package org.mybatis.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.mybatis.core.interfaces.NULLMapper;
import org.mybatis.mapper.interfaces.GenericMapper;

@Target({java.lang.annotation.ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface OneToMany{
	String column();
  
	String mapperByNameSpace();
  
	Class<? extends GenericMapper<?, ?>> mapperBy() default NULLMapper.class;
  
	String sqlId();
}
